#if !defined(AFX_UVDATADLG_H__5C84CF53_1932_45D4_A528_0444352B5FF5__INCLUDED_)
#define AFX_UVDATADLG_H__5C84CF53_1932_45D4_A528_0444352B5FF5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UVDataDlg.h : header file
//

#include "Util\MinLabel.h"
#include "Util\MinButton.h"
/////////////////////////////////////////////////////////////////////////////
// CUVDataDlg dialog
#define	ALL_UV_BUTTON		6 
#define	ALL_UV_LABEL		6

class CSystemData;
class CDMControlCenter;
class CLogData1;
class CUVData;

class CUVDataDlg : public CDialog
{
private:
	CLogData1* m_lnkLogData;
	CSystemData* m_lnkSystemData;
	CUVData* m_lnkUVData;
// Construction 
public:
	CUVDataDlg(CUVData* pUVData, CDMControlCenter* pDMCC, CWnd* pParent = NULL);   // standard constructor

	char m_szTmp[100];
	void PointSelect(int sel=0);
	void Display(BOOL change=TRUE);

	CMinButton	m_bSave;
	CMinButton	m_bExit;

// Dialog Data
	//{{AFX_DATA(CUVDataDlg)
	enum { IDD = IDD_UV_DATA_DLG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CUVDataDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	char m_cBufGet[50];
	char m_cbuf[50];
	double m_tmpDouble[ALL_UV_BUTTON];

	CMinLabel	m_sData[ALL_UV_LABEL];
	CMinButton	m_bButton[ALL_UV_BUTTON];
	// Generated message map functions
	//{{AFX_MSG(CUVDataDlg)
	afx_msg void OnUvRangeLimitOption();
	afx_msg void OnMaximumLimit();
	afx_msg void OnMinimumLimit();
	afx_msg void OnMinimumSizeDeviation();
	afx_msg void OnSave();
	virtual void OnCancel();
	afx_msg void OnUvlightOption();
	afx_msg void OnProductQuantitySet();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_UVDATADLG_H__5C84CF53_1932_45D4_A528_0444352B5FF5__INCLUDED_)
